<?php

return array(
    'title' => 'MyAds marketing platform',
    'base_url' => 'http://'. $_SERVER['HTTP_HOST'].'/myads/',
    'default_language_code' => 'en',
    'appnamespace' => 'public',
    'template' => 'default',
    'database' => array(
        'adapter' => 'Pdo_Mysql',
        'params' => array(
            'host' => 'localhost',
            'username' => 'root',
            'password' => '',
            'dbname' => 'myads',
            'prefix' => '',
            'profiler' => false //if false, system is quick
        )
    ),
    'layout' => array(
        'layoutPath' => APPLICATION_PATH . '/layouts/',
        'layout' => 'layout'
    ),
    'resources' => array(
        'frontController' => array(
            'controllerDirectory' => APPLICATION_PATH . "/controllers",
            'params' => array(
                'displayExceptions' => 1
            )
        )
    ),
    'phpSettings' => array(
        'display_startup_errors' => 1,
        'display_errors' => 1
    ),
    'display' => array(
        'numberPerPage' => 30,
        'pageRange' => 10,
        'datetimeFormat' => 'd-m-Y H:i:s',
    ),
    'currency' => ' Kr.'
);

